import { Module } from '@nestjs/common';
import { AppController } from './app.controller';
import { AppService } from './app.service';
import { ServeStaticModule } from '@nestjs/serve-static';
import { join } from 'path';
import * as Config from './app.config';
@Module({
  imports: [ServeStaticModule.forRoot({
    rootPath: join(Config.clientRoot, 'client'),
  })],
  controllers: [AppController],
  providers: [AppService],
})
export class AppModule {}
